To get the hierarchy of classes that I might need later.
We don’t want the user to know what functionality it offers other than some important We also dont want user to use reflection to exploit functionalities
punyamca
Feb 6th, 2015
For late binding purpose. to design a method so that a part of functionality has to be mentioned by end user(implementing class)
Actually I don' t understand ur question properly... Anyway, primary reason that generic types and methods (often referred to, simply, as generics) were added to the Java language ? to add compile...
Stream Reader A Stream Reader is a bridge from byte streams to character streams: It reads bytes and translates them into characters according to a specified character encoding. The encoding that it u...
Why u thinking abt JDBC. If u can connect with any database then u can insert image into database. If u r using Oracle as database then make a column with datatype BLOB. Then Importing java.awt.image...
All those answers are lies. JAVA was named as coffee was drunk the most when it was developed. And the bean name is JAVA. thats why u see Coffee Cup as its official symbol.Enjoy.
praveen
Jul 25th, 2006
Hi friends, Actually,JAVA came from japan, java is the name of a flaour for tea there in japan.this was to decide the name for a new programming language. wen this java flaour tea was offered at that time and the new language was decided as JAVA.
Very first I would like to tell you that String not a data type its Final class and that present in java.lang package and its a drive class Question is that Why it is derived class
vivek
Aug 26th, 2017
Strings are data types that can hold everything and by everything I mean primitives types as well as user defined types. Moreover the meaning of word string is something which connected for e.g a thre...
Threads main disadvantage is , it's creates dead lock
PRAVEEN S WANI
Oct 23rd, 2006
As others say thread is dis-advantage. I agree for that but at the same time it also has advantages in situation of memory utilisation if we need to hold lot of data in memory we can process chunk by chunk and use memory optimaly
primitive types are data types provided by a programming language as basic building blocks. Depending on the language and its implementation, primitive types may or may not have a one-to-one correspon...
While loop is a control flow statement that allows code to be executed repeatedly based on a given boolean condition. And for loop is a control flow statement which allows code to be executed iteratively.
senthil kumar
Jun 22nd, 2006
In C for FOR loop there will not be a termination symbol,whereas while loop we have termination symbol.In FOR loop we have initialization;conditon;incrementationare declared inside the brackets.In WHILE block if the condition in the loop is true then output will be executed.
if you change any sub component in a top label container then ,suppose you change some button layout in a frame then that will automatically call by paint to update to validate. that means three metho...
shyju
Jun 20th, 2006
validate() method is used to cause a container in frames to lay out its subcomponents once again. It should be invoked when this container's subcomponents are modified.
hi,a class with in the class is called innerclass.it is a safety mechanisam.innerclass variables are accessed througth outerclass variables only.anonymous class is an innerclass whose class name will be hidden .whom will be created only object.cheerssiva
To help you get a handle on inner classes and what they are good for, let's visit the "Stack" class.Here's a "Stack" implementation that defines a helper class, called StackIterator&nb...
Rabbi i appreciate your help, but do you know what enumeration is when talking about the 9th Amendment?
ramjee
Nov 2nd, 2006
Enumeration is a legacy class it is same like Iterator i.e.it will add one element at a time the only diff is we cannot delete an element in Enumeration.cheers,Ramee..
You can use Real Vedio Formats....The RealVideo format is developed by Real Media. Videos stored in the Real Video format have the extension .rm or .ram.The format allows streaming of video (on-line v...
Hello Sredhar.r The code u have tried to shown us has been interpreted by the browser......Anyway firstly look at ur file supports by the browser Vedio files are supported by the browsers are : .avi ...
Both echo and print are language constructs. However print() acts like a function in that it returns a value and can be used in complex expressions.Furthermore, echo without parentheses can take multiple arguments. Echo with parentheses and print can only take a single argument.
Java is case sensitive.if you change main to Main program will compile.while running using java in command prompt its shows errorException in thread "main" java.lang.NoSuchMethodError: mainmain() is a...
Main() and Main() are two different methods in Java. But if u write Main() instead of main() then there will no exception at the compile time. But It will generate a runtime exception : java.lang.NoSuchMethodError: main
How can classes are loaded from remote server ??? Don't worry.... pls visit the hypelink and will get your ans.... http://java.sun.com/developer/JDCTechTips/2001/tt0227.html#dynamic
which one is faster in execution Array List or Array? why?
Gaurav Singh
Mar 12th, 2018
No, JVM is not platform independent. It is Platform dependent.
Kailash Dofe
Jul 5th, 2017
JVM is platform dependent, each OS has its own JVM version. What makes JAVA platform independent is this platform dependent JVM. This JVM helps the intermediately compiled JAVA code(bytecode) to run o...