Changes

Jump to navigation Jump to search
9 bytes added ,  13:55, 19 April 2022
m
Line 3: Line 3:  
===With apt===
 
===With apt===
 
  <nowiki>sudo apt-add-repository ppa:webupd8team/java
 
  <nowiki>sudo apt-add-repository ppa:webupd8team/java
          sudo apt-get update
+
            sudo apt-get update
          sudo apt-get install oracle-java8-installer</nowiki>
+
            sudo apt-get install oracle-java8-installer</nowiki>
    
Also ensure your JAVA_HOME variable has been set to:
 
Also ensure your JAVA_HOME variable has been set to:
Line 375: Line 375:  
protected would be the appropiated declaration to be able to inherit variables without being public.
 
protected would be the appropiated declaration to be able to inherit variables without being public.
 
<source lang="java">
 
<source lang="java">
abstract class Machine {
+
public abstract class Machine {
 
     abstract public void move();
 
     abstract public void move();
 
}
 
}

Navigation menu