Java Complied File
Virtual Position Forum :: Members Lounge :: Sciences & Knowledge :: Programing and Design :: Java Forum
Page 1 of 1 • Share
Java Complied File
sir
can we use our java complied file(.class) in a computer where java is not installed if yes then please guide me?
2nd:
what is toString() function, and why we use () when create an instance of class like Movie m=new Movie();
Thanks
Regards
diya [You must be registered and logged in to see this image.]
can we use our java complied file(.class) in a computer where java is not installed if yes then please guide me?
2nd:
what is toString() function, and why we use () when create an instance of class like Movie m=new Movie();
Thanks
Regards
diya [You must be registered and logged in to see this image.]
Diya- Monstars
-
Posts : 364
Join date : 2011-02-08
Age : 32
Character sheet
Experience:
(10/500)
Re: Java Complied File
1) A JVM must be installed on the host machine to run the class file.
2) “toString()” is used to display state of an object in string format, it is often used when we want to see the current values/state of data members of object
3) Movie m=new Movie(); it is so that we are calling the constructor of Movie class. When ever a new object is to be created constructor of the class is called.
2) “toString()” is used to display state of an object in string format, it is often used when we want to see the current values/state of data members of object
3) Movie m=new Movie(); it is so that we are calling the constructor of Movie class. When ever a new object is to be created constructor of the class is called.
Vuhelper- Deep Bench
- Posts : 97
Join date : 2011-05-29
Similar topics
» How can we make java "class" file as exe file. So that we could run it directly witho
» how can we run the java code ? after saving the file how run it?
» Java Tutorials For Beginners (From Basic to Advanced Level) Read more: Java Tutorial
» What is difference b/w java Buzzwords and java Keywords?
» what is difference b/w Java and Java Script?
» how can we run the java code ? after saving the file how run it?
» Java Tutorials For Beginners (From Basic to Advanced Level) Read more: Java Tutorial
» What is difference b/w java Buzzwords and java Keywords?
» what is difference b/w Java and Java Script?
Virtual Position Forum :: Members Lounge :: Sciences & Knowledge :: Programing and Design :: Java Forum
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Sat May 04, 2024 11:49 am by ali001
» house disrepair claims
Thu May 02, 2024 4:29 pm by Ibad Khan Buledi
» Bounce n Bang: Physics puzzler
Thu May 02, 2024 11:39 am by ali001
» AIChatSY - AIChatbot Assistant
Wed May 01, 2024 10:48 am by ali001
» Storybook Magic App
Tue Apr 30, 2024 7:06 pm by ali001
» Flower Book Match3 Puzzle Game
Tue Apr 30, 2024 12:17 pm by ali001
» Avian Influenza Symptom in Chickens "Bird Flu H5N1 Virus" Vet learning materials, Poultry Farming
Sat Apr 27, 2024 9:57 am by Ibad Khan Buledi
» Aloha Planner - Note-Taker
Thu Apr 11, 2024 4:52 pm by ali001
» Streaming Guide Film TV Series
Tue Apr 09, 2024 9:39 pm by ali001