I changed the class name to start with capital letters and turns out it didn't give the result that was shown in the video lecture because instead of
System.out.println("num1 = " + s1.num1 +...
Type: Posts; User: cosmicvista
I changed the class name to start with capital letters and turns out it didn't give the result that was shown in the video lecture because instead of
System.out.println("num1 = " + s1.num1 +...
Thank you Mr.Brannon, there is much to learn from you :D
Can anybody please help explain why the output is not giving the proper result? Is this a semantic error?
public class Programming1Practice {
/* testing out instantiation and...