Objective-C : Вопрос 1 : 20

Какие фрагменты кода содержат ошибки?

Варианты ответа:

1) 

NSArray *arr = [NSMutableArray arrayWithObjects:@"1", @"2", @"3", nil];
...
[arr release];

2)

NSArray *arr = [NSMutableArray arrayWithObjects:@"1", @"2", @"3", nil];
...
[arr autorelease];

3)

NSMutableArray *arr = [[NSMutableArray alloc] initWithObjects:@"1", @"2", @"3", nil];
...
[arr dealloc];

4)

NSMutableArray *arr = [[NSMutableArray alloc] initWithObjects:@"1", @"2", @"3", nil];
...
[arr release];
1 балл


© Copyright © 2017 - 2019 Все права защищены. Бесплатное онлайн образование.
  • https://disdik.munabarat.go.id/nusantara/slot/
  • https://dispendik.sidoarjokab.go.id/nuansa/gacor/
  • https://dkpd.grobogan.go.id/jakarta/gacor/
  • https://sbobet88.blog.unsia.ac.id
  • https://pafinusantara.blog.unsia.ac.id/bet88
  • https://idn-poker.blog.unsia.ac.id
  • https://slot777-gacor.blog.unsia.ac.id
  • https://agen-188bet.blog.unsia.ac.id
  • https://situs-slot.blog.unsia.ac.id
  • https://bet88-slot.blog.unsia.ac.id
  • https://2021.kinerja.ekon.go.id/up/slot777
  • https://2021.kinerja.ekon.go.id/halal/bet88
  • https://program-gacor.blog.unsia.ac.id
  • surapati.ac.id
  • untagsby.ac.id
  • kingandiboston.com
  • janeashton.com
  • redbrickcafechester.com
  • villanosdeljazz.com
  • slot