Skip to content

Instantly share code, notes, and snippets.

public class ArrayModelBinder : IModelBinder
{
public ArrayModelBinder()
{
}
public Task BindModelAsync(ModelBindingContext bindingContext)
{
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++) {
org 100h
GO:
call RANDOM_NUMBER
call TIME_CHECKT
cmp intsecT, 1
je NoTimeLeft
call TIME_INCT
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
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
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
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:
// Base Class
class Parent
{
void show()
{
System.out.println("Parent's show()");
}
}
// Inherited class
// 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.
// 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.