## Unicode list
← → ↑ ↓ ↔ ↕ ↖ ↗ ↘ ↙ ↚ ↛ ↮ ⟵ ⟶ ⟷ ⇐ ⇒ ⇑ ⇓ ⇔ ⇕ ⇖ ⇗ ⇘ ⇙ ⇍ ⇏ ⇎ ⟸ ⟹ ⟺ ⇦ ⇨ ⇧ ⇩ ⬄ ⇳ ⬀ ⬁ ⬂ ⬃ ⬅ ( ⮕ ➡ ) ⬆ ⬇ ⬈ ⬉ ⬊ ⬋ ⬌ ⬍ ⇆ ⇄ ⇅ ⇵ ⇈ ⇊ ⇇ ⇉ ⬱ ⇶ ⇠ ⇢ ⇡ ⇣ ⇚ ⇛ ⤊ ⤋ ⭅ ⭆ ⟰ ⟱
## Unicode list
← → ↑ ↓ ↔ ↕ ↖ ↗ ↘ ↙ ↚ ↛ ↮ ⟵ ⟶ ⟷ ⇐ ⇒ ⇑ ⇓ ⇔ ⇕ ⇖ ⇗ ⇘ ⇙ ⇍ ⇏ ⇎ ⟸ ⟹ ⟺ ⇦ ⇨ ⇧ ⇩ ⬄ ⇳ ⬀ ⬁ ⬂ ⬃ ⬅ ( ⮕ ➡ ) ⬆ ⬇ ⬈ ⬉ ⬊ ⬋ ⬌ ⬍ ⇆ ⇄ ⇅ ⇵ ⇈ ⇊ ⇇ ⇉ ⬱ ⇶ ⇠ ⇢ ⇡ ⇣ ⇚ ⇛ ⤊ ⤋ ⭅ ⭆ ⟰ ⟱
MediaPlayer mediaPlayer = MediaPlayer.create(context, R.raw.sound_file_1); | |
mediaPlayer.start(); // no need to call prepare; create() does that for you | |
Uri myUri = ....; // initialize Uri here | |
MediaPlayer mediaPlayer = new MediaPlayer(); | |
mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); | |
mediaPlayer.setDataSource(getApplicationContext(), myUri); | |
mediaPlayer.prepare(); | |
mediaPlayer.start(); |
#include <iostream> // std::cout | |
#include <thread> // std::thread | |
void foo() | |
{ | |
for (int i = 0; i < 1500000000; i++); | |
} | |
void bar(int x) | |
{ |
package slidenerd.javaoop; | |
/** | |
* Created by Microsoft on 10/6/2015. | |
*/ | |
public class SuperKeyWord { | |
public static void main(String[] args) { | |
B b = new B(10, 20); | |
System.out.println(b.a); | |
System.out.println(b.b); |
package slidenerd.javaoop; | |
/** | |
* Created by Microsoft on 10/6/2015. | |
*/ | |
public class SuperClassReferenceVariable { | |
public static void main(String[] args) { | |
Person p1 = new Person(); |
package slidenerd.javaoop; | |
/** | |
* Created by Microsoft on 10/6/2015. | |
*/ | |
public class SuperClassReferenceVariable { | |
public static void main(String[] args) { | |
Person p1 = new Person(); |
package slidenerd.javaoop; | |
/** | |
* Created by Microsoft on 10/6/2015. | |
*/ | |
public class InstanceOfOperator { | |
public static void main(String[] args) { | |
Dog dog = new Dog(); | |
System.out.println(dog instanceof Animal); // true | |
dog = null; // as dog refers to null |
package slidenerd.javaoop; | |
/** | |
* Created by Microsoft on 10/6/2015. | |
*/ | |
public class DynamicMethodDispatch { | |
public static void main(String[] args) { | |
// Checking ------------------ | |
// Compile time Runtime |
package slidenerd.javaoop; | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.util.Scanner; | |
/** | |
* Created by Microsoft on 10/6/2015. | |
*/ | |
public class DynamicMethodDispatchExample { |
package slidenerd.javaoop; | |
/** | |
* Created by Microsoft on 10/7/2015. | |
*/ | |
public class AbstractClassMethod { | |
public static void main(String[] args) { | |
Human human = new Human(); | |
human.printInfo(); |