top of page
Search
Type Casting Java
Type Casting Converting one data type into another data type is called "Type Casting". Type of Data Types There are two types of data...

Abhinaw Tripathi
Jun 23, 20164 min read
5 views
0 comments
Abstract Method and Abstract Class
Abstract Method and Abstract Class An abstract method does not contain any body.It contains only the method header.So we can say it is...

Abhinaw Tripathi
Jun 23, 20162 min read
19 views
0 comments
What is the difference between an abstract class and an interface?
What is the difference between an abstract class and an interface? Ans: Abstract Class: 1.An abstract class is written when there are...

Abhinaw Tripathi
Jun 22, 20161 min read
9 views
0 comments
Multiple Inheritance and Callbacks using Interfaces
Multiple Inheritance using Interfaces We know that in multiple inheritance ,sub classes are derived from multiple super classes.If two...

Abhinaw Tripathi
Jun 22, 20161 min read
2 views
0 comments
Interface Example Java
What is an Interface? Ans: An Interface is a specification of method prototypes.All the methods of the interface are public and...

Abhinaw Tripathi
Jun 21, 20163 min read
7 views
0 comments
Re-throwing an Exception Example Java
What is the difference between throws and throw? Ans: throws clause is used when the programmer does not want to handle the exception and...

Abhinaw Tripathi
Jun 21, 20161 min read
5 views
0 comments
throws Clause Example Java
throws Clause Even if the programmer is not handling run-time exceptions,the java compiler will not give any error related to run-time...

Abhinaw Tripathi
Jun 20, 20162 min read
3 views
0 comments
Exception Handling Java
Exception Handling When there is an exception ,the user data may be corrupted.This should be tackled by the programmers be carefully...

Abhinaw Tripathi
Jun 20, 20162 min read
2 views
0 comments
Exception and Error Understanding Java
Exception Handling A software engineer commit many errors while developing software code.These errors are also called Bugs and the...

Abhinaw Tripathi
Jun 20, 20162 min read
2 views
0 comments
String Tokenizer Class Java
String Tokenizer Class This class is useful to break a string into pieces called Tokens.These tokens are then stored in the...
AbhinawTripathi
Jun 17, 20161 min read
1 view
0 comments
Using Comparator to Sort an Array Java
Using Comparator to Sort an Array It offers an interface , called Comparator that is useful to impose a total ordering on a collection of...

Abhinaw Tripathi
Jun 17, 20161 min read
10 views
0 comments
Array Class Java
Array Class Arrays class provides methods to perform certain operations on any one dimensional array.All the methods of the array class...

Abhinaw Tripathi
Jun 17, 20161 min read
3 views
0 comments
Hashtable , HashMap, Set , List differences java
What is difference between HashMap and Hashtable? Ans: HashMap= HashMap is not synchronized.In case of single thread, using HashMap is...

Abhinaw Tripathi
Jun 17, 20161 min read
2 views
0 comments
Hashtable Class Java Example
Hashtable Class Hashtable is similar to HashMap which can store elements in the form of key-value pairs.But Hashtable is synchronized...

Abhinaw Tripathi
Jun 17, 20161 min read
2 views
0 comments
HashMap Class Java
Hash Map Class HashMap is a collection that stores elements in the form of key-value pairs.If key is provided,its corresponding value can...

Abhinaw Tripathi
Jun 17, 20161 min read
7 views
0 comments
Vector Class Java
Vector Class A vector also stores elements similar to ArrayList, but Vector is synchronized.It means if several threads act on same...

Abhinaw Tripathi
Jun 17, 20161 min read
0 views
0 comments
ArrayList Class Collection Java
ArrayList Class An ArrayList is like an array, which can grow in memory dynamically.Memory is dynamically allotted and re-allotted to...

Abhinaw Tripathi
Jun 17, 20161 min read
4 views
0 comments
Linked List Collection Class Java
LinkedList Class A Linked list contains a group of elements in the form of nodes.Each node will have three fields---the data field...

Abhinaw Tripathi
Jun 17, 20161 min read
1 view
0 comments
LinkedHashSet Class and Stack Class Java
LinkedHashSet Class This is a subclass of HashSet class and does not contain any additional members on its own.It is a generic class that...

Abhinaw Tripathi
Jun 17, 20161 min read
2 views
0 comments
Collection HashSet Class
HashSet Class A HashSet represents a set of elements.it does not guarantee the order of elements.Also it does not allow the duplicate...

Abhinaw Tripathi
Jun 16, 20161 min read
4 views
0 comments
bottom of page