+ 1

Can we build software using java without using our own classes and relying solely on java libraries?

1st Sep 2017, 6:07 AM
suryapoojary
suryapoojary - avatar
5 odpowiedzi
+ 3
Some of these questions though. You need a class that will contain a main method.
1st Sep 2017, 7:17 AM
Nick Nderitu
Nick Nderitu - avatar
+ 2
No! You'd need at least one class of your own
1st Sep 2017, 6:29 AM
Mohd Zaid
Mohd Zaid - avatar
+ 1
Yes, by using another language
1st Sep 2017, 7:18 AM
Mark Van Wijk
Mark Van Wijk - avatar
+ 1
Java requires a class that includes a main method to be able to compile, but you can write a program that only has that one class. In multi class apps, you dont have to create an object of every class you create. Look up static in one of the first few lessons, it helped me on this point.
1st Sep 2017, 7:27 AM
Victor Staten
0
okay ..I think you guys got it wrong.. I know I need a single class for Java compiling and execution.. my question is that is it necessary to follow OOP or procedural programming is enough to build a software ?
1st Sep 2017, 7:27 AM
suryapoojary
suryapoojary - avatar