The real time issues while developing the java based applications. All question while learning the java. You can ask more question in comment and can expect the answers for it.
What are the predefined abstract classes in Java?
Get link
Facebook
X
Pinterest
Email
Other Apps
-
What are the predefined abstract classes in Java?
There are many but some of them are AbstractMap<K,V>, AbstractMap<K,V>,AbstractCollection<E>,AbstractList<E> ext.
How do I create an array of a string? Here is the example code. public class ArrayDemo { public static void main(String[] args) { String[] strArray = new String[2]; strArray[0] = "Hello"; strArray[1] = "World !"; System.out.println(strArray[0] +" "+strArray[1]); } } Output: Hello World !
How do you count the number of String objects created in a program in Java? What is the easiest way to identify it? First of all you need to understand that the String object is the special object in java. There are two types of memories which are used for Sting object. One is string pool and other is the main memory where object will be stored. Upcoming answer of this question in details...
What are all the Classes and Interfaces that are available in the collections in Java? You can check in eclipse ide. 1. Go to the interface Collection in eclipse. 2. right click it and see type hierarchy. You can see as below. You can check all the methods also.
Comments
Post a Comment