How do you start typing a constructor code using NetBeans do you start from main | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you start typing a constructor code using NetBeans do you start from main

3rd Mar 2017, 9:48 AM
Dennis Mwangi
Dennis Mwangi - avatar
2 Answers
+ 1
what is confusing me is that example public class bicycle string make; string serial number ; bicycle (){ how do you make the bicycle a constructor?? and also at What point do you insert main method
3rd Mar 2017, 10:32 AM
Dennis Mwangi
Dennis Mwangi - avatar
+ 1
so the whole program first starts with public static void main(args []){
3rd Mar 2017, 10:40 AM
Dennis Mwangi
Dennis Mwangi - avatar