This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ArrayModelBinder : IModelBinder | |
{ | |
public ArrayModelBinder() | |
{ | |
} | |
public Task BindModelAsync(ModelBindingContext bindingContext) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BubbleSort { | |
public static void main(String[] args) { | |
int number[] = {70, 60,40, 90, 10, 20, 80, 30, 50}; | |
bubble_sort(number); | |
} | |
public static void bubble_sort(int[] input) { | |
for(int i=0; i<input.length-1;i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org 100h | |
GO: | |
call RANDOM_NUMBER | |
call TIME_CHECKT | |
cmp intsecT, 1 | |
je NoTimeLeft | |
call TIME_INCT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org 100h | |
LEA SI, STR | |
MOV DX, 2000h | |
MOV ES, DX | |
MOV CL, 10 ; 10 ELEMAN VAR | |
MOV BP, 0 | |
LOOP1: | |
MOV SI, BP | |
MOV AL, STR[SI] | |
PUSH CX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org 100h | |
LEA SI, STR | |
MOV DX, 2000h | |
MOV ES, DX | |
MOV CL, 10 ; 10 ELEMAN VAR | |
MOV BP, 0 | |
LOOP1: | |
MOV SI, BP | |
MOV AL, STR[SI] | |
PUSH CX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org 100h | |
LEA SI, STR | |
MOV DX, 2000h | |
MOV ES, DX | |
MOV CL, 10 ; 10 ELEMAN VAR | |
MOV BP, 0 | |
LOOP1: | |
MOV SI, BP | |
MOV AL, STR[SI] | |
PUSH CX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org 100h | |
LEA SI, STR | |
MOV CL, 10 ; 10 ELEMAN VAR | |
MOV BP, 0 | |
LOOP1: | |
MOV SI, BP | |
MOV AL, STR[SI] | |
PUSH CX | |
LOOP2: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Base Class | |
class Parent | |
{ | |
void show() | |
{ | |
System.out.println("Parent's show()"); | |
} | |
} | |
// Inherited class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Superclass | |
class Base { | |
// Subclassta saklanacak static metod. | |
public static void display() { | |
System.out.println("Static or class method from Base"); | |
} | |
// Subclassta override edilecek non-static metod. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Superclass | |
class Base { | |
// Subclassta gizli kalacak static metod. | |
public static void display() { | |
System.out.println("Base class icerisindeki static metod."); | |
} | |
// Subclassta override edilecek non-static metod. |
NewerOlder